package com.crape.account.dao;

import java.util.List;

import com.crape.common.exceptions.DAOException;
import com.crape.common.model.DarrenAudit;

public interface IDarrenAuditDAO {

    List<DarrenAudit> getDarrenAudits(DarrenAudit darrenAudit) throws DAOException;

    List<DarrenAudit> getPagedDarrenAudits(Long accountid, String email, Integer status, Integer startIndex, Integer pageSize) throws DAOException;
    
    Long countDarrenAudits(Long accountid, String email, Integer status) throws DAOException;

    void insertDarrenAudit(DarrenAudit darrenAudit) throws DAOException;

    void updateDarrenAudit(DarrenAudit darrenAudit) throws DAOException;

    void updateDarrenAuditStatus(Long accountid, Integer status) throws DAOException;

}
